package com.ihelp.rest.mis.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id; 
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;


/**
 * 网站分类库
*    
* 类名称：SITETYPE   
* @version
 */
@Entity
@SuppressWarnings("deprecation")
@Table(name = "SITETYPE")
@org.hibernate.annotations.Entity(selectBeforeUpdate = true, dynamicInsert = true, dynamicUpdate = true)
public class SiteType implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@Id
    @Column(name = "ID", length = 36)
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "guid")
	private String id;
	
	@Column(name = "TYPECODE", length = 50)
	private String typecode;
	
	@Column(name = "TYPENAME", length = 100)
	private String typename;
	
	@Column(name = "PARENTCODE", length = 50)
	private String parentcode;
	
	@Column(name = "KEYWORD", length = 500)
	private String keyword;

	@Column(name = "TYPESORT", columnDefinition="int(3) default 0")
	private Integer typesort;
	
	@Column(name = "TYPESTATE", columnDefinition="int(3) default 1")
	private Integer typestate;

 

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTypecode() {
		return typecode;
	}

	public void setTypecode(String typecode) {
		this.typecode = typecode;
	}

	public String getTypename() {
		return typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

	public String getParentcode() {
		return parentcode;
	}

	public void setParentcode(String parentcode) {
		this.parentcode = parentcode;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Integer getTypesort() {
		return typesort;
	}

	public void setTypesort(Integer typesort) {
		this.typesort = typesort;
	}

	public Integer getTypestate() {
		return typestate;
	}

	public void setTypestate(Integer typestate) {
		this.typestate = typestate;
	}
	

}
